package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.RoleDto;
import com.zzyl.vo.RoleVo;

import java.util.List;
import java.util.Set;

public interface RoleService {
    PageResponse<RoleVo> findRoleVoPageResponse(RoleDto roleDto, int pageNum, int pageSize);

    Boolean createRole(RoleDto roleDto);

    Set<String> findCheckedResources(Long roleId);

    Boolean deleteRole(List<String> roleIds);


    Boolean updateRole(RoleDto roleDto);


    List<RoleVo> selectAll();

}
